.class Les/ru$h;
.super Ljava/lang/Object;
.source "Cataloger.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Les/ru;->a(Z)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic a:Z

.field final synthetic b:Les/ru;


# direct methods
.method constructor <init>(Les/ru;Z)V
    .locals 0

    .line 1
    iput-object p1, p0, Les/ru$h;->b:Les/ru;

    iput-boolean p2, p0, Les/ru$h;->a:Z

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .line 1
    iget-object v0, p0, Les/ru$h;->b:Les/ru;

    invoke-static {v0}, Les/ru;->g(Les/ru;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 2
    iget-object v0, p0, Les/ru$h;->b:Les/ru;

    invoke-virtual {v0}, Les/ru;->c()V

    .line 3
    :cond_0
    new-instance v0, Les/hv;

    invoke-direct {v0}, Les/hv;-><init>()V

    .line 4
    invoke-static {}, Les/p10;->e()Les/p10;

    move-result-object v1

    .line 5
    new-instance v2, Les/ru$h$a;

    invoke-direct {v2, p0, v1}, Les/ru$h$a;-><init>(Les/ru$h;Les/p10;)V

    .line 6
    invoke-virtual {v0, v2}, Les/hv;->a(Les/dw$c;)V

    .line 7
    iget-boolean v1, p0, Les/ru$h;->a:Z

    if-eqz v1, :cond_1

    .line 8
    iget-object v1, p0, Les/ru$h;->b:Les/ru;

    invoke-static {v1}, Les/ru;->j(Les/ru;)Ljava/util/concurrent/atomic/AtomicInteger;

    move-result-object v1

    invoke-virtual {v1}, Ljava/util/concurrent/atomic/AtomicInteger;->decrementAndGet()I

    move-result v1

    if-nez v1, :cond_1

    .line 9
    iget-object v1, p0, Les/ru$h;->b:Les/ru;

    invoke-static {v1}, Les/ru;->c(Les/ru;)Ljava/util/concurrent/atomic/AtomicBoolean;

    move-result-object v1

    const/4 v2, 0x0

    invoke-virtual {v1, v2}, Ljava/util/concurrent/atomic/AtomicBoolean;->set(Z)V

    .line 10
    :cond_1
    iget-object v1, p0, Les/ru$h;->b:Les/ru;

    invoke-static {v1, v0}, Les/ru;->a(Les/ru;Les/hv;)V

    return-void
.end method
